##############################################################################
# Python From Scratch
# Author: Nilo Ney Coutinho Menezes
# Editora Novatec (c) 2010-2025 - LogiKraft 2025
# Site: https://pythonfromscratch.com
# ISBN: 978-85-7522-949-1 (Paperback), 978-85-7522-950-7 (hardcover), 978-85-7522-951-4 (ebook)
#
# File: chapter 06/06.16 - Printing purchases.py
##############################################################################
product1 = ["apple", 10, 0.30]
product2 = ["pear", 5, 0.75]
product3 = ["kiwi", 4, 0.98]
shopping = [product1, product2, product3]
for e in shopping:
print(f"Product: {e[0]}")
print(f"Amount: {e[1]}")
print(f"Price: {e[2]:5.2f}")